package fr.aracore.domotique.zapi.jmx;

import fr.aracore.domotique.zapi.model.Sensor;

public class JMXSensor implements JMXSensorMBean{

	private Sensor sensor;
	public JMXSensor(Sensor sensor){
		this.sensor=sensor;
	}
	
	
	public String tag() {
		return sensor.tag();
	}

	public String id() {
		return sensor.id();
	}

	public String toString() {
		return sensor.toString();
	}

	public String value() {
		return sensor.value();
	}

}
